home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / dev / www-talk.9301-9306.Z / www-talk.9301-9306 / text1460.txt < prev    next >
Encoding:
Text File  |  1995-04-24  |  2.5 KB  |  67 lines

  1. Marc says:
  2.  
  3. > Hi Dave, got a user request for this...
  4.  
  5. > * text on top of an image background or in a colored background box
  6. >   which sits arbitrarily on top of an image background.
  7.  
  8. > I'm ambivalent; it might be overkill.  On the other hand, it would be
  9. > neat.
  10.  
  11. OK how about this:
  12.  
  13. A new tag FIGT which allows you to position arbitrary text at a given
  14. point in the image. The optional "BOX" attribute requests the browser to draw
  15. a background box (obscuring the image). You can choose to make the whole of
  16. the box into a hypertext link, or to use the A tag for designated parts of
  17. the text. The optional "WIDTH" attribute allows you to limit the width of
  18. the box. By default, the browser will make the width equal the lesser of the
  19. length of the text string or the right most extent of the image.
  20.  
  21. I have also switched back to having the upper left as (0,0). Furthermore,
  22. to provide backwards compatibility with servers supporting X Mosaic's ISMAP
  23. feature, I have added the "PIX" attribute to FIG. This switches the coordinate
  24. scheme to pixels for the scope of the figure, i.e. for FIGA, FIGT and sending
  25. mouse clicks to the server.
  26.  
  27. This will make it practical to automatically convert HTML documents into
  28. the HTML+ format, so that we can painlessly switch to the new DTD.
  29.  
  30. Cheers,
  31.  
  32. Dave Raggett
  33.  
  34. n.b. I have ditched "ISMAP" in favour of "MAP" to ensure people realise
  35. that the mechanism is not the same (i.e. it defaults to scaled coords).
  36.  
  37. ----------- DTD snippet for figures ---------------------------------------
  38.  
  39. <!-- Figures
  40.  
  41.     Figures can be fixed to the point in the text flow where
  42.     they should appear or may float relative to the text.
  43.  
  44.     The image/drawing is specified by a URL or as embedded
  45.     data for simple drawings. The elements text serves
  46.     as the caption. Use the CREDIT emphasis to record
  47.     photo credits etc.
  48.  
  49.     Mouse clicks can be handled by server (MAP) or browser (FIGA)
  50.     The coordinate scheme is (0,0) for upper left and (1,1)
  51.     for the lower right of the figure with X to the right
  52.     and Y up the "page". When sending clicks to the server
  53.     append to URL as in:   URL?X,Y
  54.  
  55.     The PIX attribute switches the coordinate scheme to
  56.     pixel values with (0,0) as the top left. This is intended
  57.     to provide backwards compatibility with servers that
  58.     support X Mosaic's ISMAP feature.
  59.  
  60.     For backwards compatibility with servers which support
  61.     X Mosaic's ISMAP feature
  62.  
  63.     Clicks on areas designated with FIGA should take
  64.     preference over handling by the server.
  65.  
  66.     FIGT allows you to position text over the figure.
  67.